package iot

import "github.com/go-netty/go-netty"

type attached struct {
	Sn   string
	Stat string
}

func (a *attached) GetSn() string {
	return ""
}

func GetAttached(ctx netty.HandlerContext) (*attached, bool) {
	attach, ok := ctx.Attachment().(*attached)
	return attach, ok
}
